use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)] // 添加 Deserialize 特性
pub struct Tenant {
    pub id: Option<i64>,
    pub name: Option<String>,
    pub base_url: Option<String>,
    pub channel_id: Option<i64>,
    pub channel_name: Option<String>,
    pub claim_state: Option<i32>,
    pub creator_id: Option<i64>,
    pub creator_name: Option<String>,
    pub note: Option<String>,
    pub num: Option<i32>,
    pub secret: Option<String>,
    pub state: Option<i32>,
    pub store_state: Option<i32>,
    pub tenant_level_id: Option<i64>,
    pub ip: Option<String>,
    pub driver_class_name: Option<String>,
    pub password: Option<String>,
    pub url: Option<String>,
    pub username: Option<String>,
    pub database_name: Option<String>,
    pub admin_user_id: Option<i64>,
    pub admin_user_name: Option<String>,
    pub admin_user_phone: Option<String>,
    pub port: Option<i32>,
    pub system_version: Option<String>,
    pub system_type: Option<String>,
    pub img_server: Option<String>,
    pub select_price: Option<String>,
    pub account_info: Option<String>
}

pub  fn test() ->String {
    "Hello, world!".to_string()
}